<!--

    The MIT License
    
    Copyright (c) 2008 Per Otto Bergum Christensen
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    THE SOFTWARE.

-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<title>BDoc Examples - Task handling</title>
<style type="text/css">		
	h1 { font-family:arial,sans-serif; }

	div.classBehaviour {
		padding-left: 5px;
	}
		
	ul.scenario {
		padding-bottom: 13px;
	}
	
	ul.specifications {
		padding-bottom: 13px;
	}

	ul.statements {
		padding-bottom: 13px;
	}
				
	div.narrative {
		padding-bottom: 13px;
	}
	
	li.titleDiff {
		padding-bottom: 13px;
	}
	
	li.projectInfo {
		padding-bottom: 13px;
	}			
</style>		
	</head>
	<body>
		<h1>BDoc Examples - Task handling 1.0-SNAPSHOT</h1>
		<p>23.08.08</p>
		
	<div class="userstory">
		<h2>Tasktracking</h2>
	<div class="narrative">
		As an executive officer,<br/> 
		I want to manage tasks,<br/> 
		so that I can keep track
	</div>	
		<div class="classBehaviour">
				<i>	Scenarios
</i>

			<div class="scenarios"> 
					<ul class="scenario">
							<li>Given an executive officer with no tasks assigned</li>
							<li>When the officer creates a new task</li>
							<li>Then ensure it is assigned to the officer</li>
					</ul>
			</div>
		</div>
	
		<div class="classBehaviour">
				<i>	Specifications
</i>
			
			<ul class="specifications">
					<li>
						<span>ExecutiveOfficer</span>
						<ul>
								<li>Should be able to start a task assigned</li>
								<li>Should not be able to start a task assigned to others</li>
								<li>Should only be able to start one task at the time</li>
						</ul>
					</li>									
					<li>
						<span>Task</span>
						<ul>
								<li>Should be created in context of a task list</li>
						</ul>
					</li>									
					<li>
						<span>TaskList</span>
						<ul>
								<li>Should tell if it has tasks in progress</li>
								<li>Should not have any tasks when new</li>
								<li>Should not have any tasks in progress when new</li>
						</ul>
					</li>									
			</ul>
		</div>
	
		
		<div class="classBehaviour">
				<i>	Statements
</i>

			<ul class="statements">
					<li>
						<span>ExecutiveOfficer</span>
						<ul>
								<li>A new executive officer should not have any tasks in his or her task list</li>
						</ul>
					</li>									
			</ul>
		</div>
		
	</div>	
			<hr/>
		
		<div id="generalBehaviour">
			<h2>	General behaviour
</h2>
		
								
		</div>		
	</body>
</html>